'666'
"666"
'"6666"'

print('let\'s learn python')
# values = '6666'
#
# format % values
#
# str.format(values)

word = 't'
string = 'Python'
result = string.find(word)
print(result)

string = 'He said, "you have to go forward, ' \
'Then turn left, Then go forward, and Then turn right."'
# 指定替换两次
new_string = string.replace("Then", "then",2)
print(new_string)

string= "Hello, my name is Wang Hong"
# 以空格作为分割符，并分割2次
print(string.split(' ', 2))

symbol = '*'
world = 'Python'
print(symbol.join(world))

l="py"+"thon"
print(l)
